<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content= "width=device-width, initial-scale=1">
<title>Insert title here</title>

<link rel="stylesheet" href="../css/radio.css"/>
<script src="../js/radio.js"></script>
</head>
<body>

<!--  라디오 버튼을 클릭하면 바탕색과 글자색을 한번에 바뀌도록 프로그램을 변경하여
		 프로그램을 수정하여 작성하시오 
		 파일명 : /form/radio.html, /css/radio.css, /js/radio.js-->
		 
<form name= "frm" action="" method="post">
	<textarea id= "area" rows="10" cols="10" ></textarea><p>
	<h1> 적당히 알아서 골라요.. <br>무슨색인지 몰라요..ㅜㅜ</h1>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#ffffff" onclick="chk()"/> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#ff00ff" onclick="chk()" /> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#ffff00"  onclick="chk()"/> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#00ffff"  onclick="chk()"/> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#00ff00"  onclick="chk()"/> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#ff0000"  onclick="chk()"/> </label>
	<label><input type= "radio" id="" class= "" name= "rdoClk" value= "#0000ff"  onclick="chk()"/> </label>
	
	<label><input type= "text" id="" class= "" name= "txt" value= "" /> </label>
	<input type= "button" id="btn" class= "btnSet" name= "" value= "확인"  /> 
</form>
</body>
<script> init();</script>
</html>